package com.basic.library.view.drawableview;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.Button;

/**
 * Created by YYS on 2018/1/3.
 */

public class DrawableButton extends DrawableTextView {

    public DrawableButton(Context context) {
        this(context, null);
    }

    public DrawableButton(Context context, AttributeSet attrs) {
        this(context, attrs, android.R.attr.buttonStyle);
    }

    public DrawableButton(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        drawableIsCenter = true;
    }

    @Override
    public CharSequence getAccessibilityClassName() {
        return Button.class.getName();
    }

}
